home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Franz PD
/
Franz PD Disk #067 (1990-04)(Amiga User Group Deutschland e.V.).zip
/
Franz PD Disk #067 (1990-04)(Amiga User Group Deutschland e.V.).adf
/
Include
/
CRT.i
< prev
next >
Wrap
Text File
|
1989-07-02
|
624b
|
27 lines
{
CRT.i
These routines are a simple attempt to mimic the Turbo Pascal
CRT routines. See ConsoleTest.p for an example of using these.
Note that ConsoleSetPtr, the actual type returned by
AttachConsole, is not defined here. I wanted to implement it as sort
of an opaque type.
}
{$I "Include/Intuition.i"}
Function AttachConsole(w : WindowPtr) : Address;
External;
Function ReadKey(con : Address) : Char;
External;
Function KeyPressed(con : Address) : Boolean;
External;
Procedure WriteString(con : Address; Str : String);
External;
Procedure DetachConsole(con : Address);
External;